package com.hertz.alarm.expection;

public class MessageResolvableException extends RuntimeException {

	private static final long serialVersionUID = -1934249841076137815L;
	
	private String key;
    private Object[] args;

    public MessageResolvableException(String key, Object... args) {
        this.key = key;
        this.args = args;
    }

    public Object[] getArgs() {
        return args;
    }

    public String getKey() {
        return key;
    }
}
